<html>
    <head>
        <meta name="layout" content="main-widger" />
        <title>WebAlbum : Create Person</title>         
    </head>
    <body>
	    <h1>Create Person</h1>
            <g:render template="/shared/messages" />
            <g:hasErrors bean="${person}">
                <div class="errors">
                    <g:renderErrors bean="${person}" as="list" />
                </div>
            </g:hasErrors>
            <g:form action="save" method="post" >
		 <p>  <label for="name">Name:</label>
		      <input type="text" size="40" maxlength="40" id="name" name="name" value="${fieldValue(bean: person, field: 'name')}"/>
		 </p><p> 
		      <label for="motto">Motto:</label>
		      <input type="text" size="40" maxlength="80" id="motto" name="motto" value="${fieldValue(bean: person, field: 'motto')}"/>
		 </p><p> 
		      <label for="password">Password:</label>
		      <input type="password" size="40" maxlength="40" id="password" name="password" value="${fieldValue(bean: person, field: 'password')}"/>
		 </p><p> 
		      <label for="password">Password confirmation:</label>
		      <input type="password" size="40" maxlength="40" id="passwordConfirmation" name="passwordConfirmation" value="${fieldValue(bean: person, field: 'passwordConfirmation')}"/>
		 </p><p> 
		      <input class="save" type="submit" value="Create" />
		 </p>
            </g:form>
    </body>
</html>
